package com.hibernate.model;

import java.util.Date;

/**
 * Absence entity. @author MyEclipse Persistence Tools
 */

public class Absence implements java.io.Serializable {

	// Fields

	private Integer aid;
	private String snumber;
	private Date adate;
	private String cname;
	private Integer cterm;

	// Constructors

	/** default constructor */
	public Absence() {
	}

	/** minimal constructor */
	public Absence(String snumber, String cname) {
		this.snumber = snumber;
		this.cname = cname;
	}

	/** full constructor */
	public Absence(String snumber, Date adate, String cname, Integer cterm) {
		this.snumber = snumber;
		this.adate = adate;
		this.cname = cname;
		this.cterm = cterm;
	}

	// Property accessors

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public String getSnumber() {
		return this.snumber;
	}

	public void setSnumber(String snumber) {
		this.snumber = snumber;
	}

	public Date getAdate() {
		return this.adate;
	}

	public void setAdate(Date adate) {
		this.adate = adate;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Integer getCterm() {
		return this.cterm;
	}

	public void setCterm(Integer cterm) {
		this.cterm = cterm;
	}

}